package com.xxmw.transaction.common.utils.symbolFormat.impl;

import com.xxmw.transaction.common.utils.symbolFormat.SymbolFormat;

/**
 * @author luowenliang
 * @since 2020/5/21 18:23
 */
public class PoloniexSymbolFormat implements SymbolFormat {

    @Override
    public String symbolFormat(String baseCurrency, String quoteCurrency) {
        return quoteCurrency.toUpperCase()+ "_" + baseCurrency.toUpperCase();
    }

    @Override
    public String symbolStandardization(String symbol) {
        return symbol.replace("_", "").toLowerCase();
    }
}
